package kisti.lod.classification.db;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "domain")

/**
 * Class modelling Rows of the Database Table "domain"
 * @author Sebastian
 */
public class Domain {
	@DatabaseField(unique = true)
	String name;
	@DatabaseField(generatedId = true)
	int domainId;
	
	public Domain() {
	}
	
	public Domain(String name) {
		setName(name);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getDomainId() {
		return domainId;
	}
	
	
}
